## File created by the gnome-build tools

install:
	@echo "Installing support (configuration) files and directories ..."
	@mkdir -p ${prefix}/log
	@mkdir -p ${prefix}/etc
	@mkdir -p ${prefix}/apps
	@echo "s|__LOG_BASEDIR__|${prefix}/log|" > sedscript
	@echo "s|__APP_BASEDIR__|${prefix}/apps|" >> sedscript
	@echo "s|__APPDEF_SCRIPT__|${prefix}/etc/app.lua|" >> sedscript
	@echo "s|__EXT_BASEDIR__|${prefix}/exts|" >> sedscript
	@sed -f sedscript bsp.conf.in >${prefix}/etc/bsp.conf
	@cp app.lua.in ${prefix}/etc/app.lua -f
	@rm sedscript -f
